<% if $Format == 'PDF' %>
	<link rel="stylesheet" type="text/css" href="account/css/WithdrawStatementDetail.css" />
<% else %>
	<link rel="stylesheet" type="text/css" href="/account/css/WithdrawStatementDetail.css" />
<% end_if %>
<div id="withdraw-statement">
    <div id="customer">
        <div id="customer-title">
            <strong><u><%t WithdrawStatementDetail.ss.PAID_TO "Paid To" %></u></strong><br />
            $Member.Name ($Member.Username)<br />
            $Member.FullAddress<br />
            <% if $Member.Mobile %>
                $Member.Mobile<br />
            <% end_if %>
            <% if $Member.Email %>
                $Member.Email
            <% end_if %>
        </div>
       
        <table id="meta">
            <tr>
                <td class="meta-head"><%t WithdrawStatementDetail.ss.STATUS "Status" %></td>
                <td>$Status</td>
            </tr>
            <tr>

                <td class="meta-head"><%t WithdrawStatementDetail.ss.SUBMISSION_DATE "Submission Date" %></td>
                <td>$Created.Nice</td>
            </tr>
            <tr>

                <td class="meta-head"><%t WithdrawStatementDetail.ss.RECEIVABLE_AMOUNT "Receivable Amount" %></td>
                <td>$PayoutMethod.Amount.Nice</td>
            </tr>
        </table>

    </div>
    <br />
    <% if $Remark %>
    <div id="remark">
        <p><%t WithdrawStatementDetail.ss.NOTE "Note: {remark}" remark=$Remark %></p>
    </div>
    <% end_if %>
    $PayoutMethod.FullDetailHTML
    <% if Format = HTML %>
        <div id="action">
        <% if PDFLink %>
            <a target="_blank" href="{$PDFLink}" title="<%t WithdrawStatementDetail.ss.DOWNLOAD_PDF "Download these details as PDF" %>"><img border="0" src="/account/images/pdf.gif" alt="<%t WithdrawStatementDetail.ss.DOWNLOAD_PDF "Download these details as PDF" %>" /></a>
        <% end_if %>
        <% if PrintLink %>
            <a target="_blank" class="print" href="{$PrintLink}" title="<%t WithdrawStatementDetail.ss.PRINT "Print this page" %>"><img src="/account/images/print.gif" border="0" alt="<%t WithdrawStatementDetail.ss.PRINT "Print this page" %>" /></a>
        <% end_if %>
        </div>
    <% end_if %>
</div>